package PUSHSendIntegrator;

public class ReadOrigInd extends PUSHMmsMessage {
	public String readReportOrigMessage;
	
		public ReadOrigInd() {
			this.mmsMessageType = MMS_MESSAGE_TYPE_READ_ORG;
		}

	public String toString() {
		this.readReportOrigMessage = "";
		if(!this.isMessageTypeSet()) return "MessageType not defined";
		if(!this.isVersionSet()) return "Version not defined";
		if(!this.isMessageIDSet()) return "MessageID not defined";
		if(!this.isReadMmsTo()) return "To not defined";
		if(!this.isReadFrom()) return "From not defined";
		if(!this.isReadStatusSet()) return "ReadStatus not defined";
		if(!this.isMessageDateSet()) return "MessageDate not defined";
		
		readReportOrigMessage += MMS_MESSAGE_TYPE + " " + this.getMessageType() + NL; 
		readReportOrigMessage += MMS_VERSION + " " + this.getVersion() +  NL; 
		readReportOrigMessage += MMS_MESSAGE_ID	+ " " + this.getMessageID() +  NL; 
		readReportOrigMessage += MMS_TO + " " + this.getReadMmsTo() +  NL;
		readReportOrigMessage += MMS_FROM + " " + this.getReadFrom() +  NL; 
		readReportOrigMessage += MMS_READ_STATUS + " " + this.getReadStatus() +  NL;
		readReportOrigMessage += MMS_DATE + " " + this.getMessageDate() + NL;

		return readReportOrigMessage;
	}
}